import request from '@/utils/request'


export function alterationApplyList(data) { //变更申请-列表
    return request({
        url: '/project-quality/api/changeApply/page',
        method: 'post',
        data
    })
}
export function alterationApplyListAll(data) { //变更申请-列表
    return request({
        url: '/project-quality/api/changeApply/changeApply',
        method: 'post',
        data
    })
}
export function alterationApplyAdd(data) { //变更申请-添加
    return request({
        url: '/project-quality/api/changeApply/add',
        method: 'POST',
        data
    })
}
export function alterationApplyEdit(data) { //变更申请-修改
    return request({
        url: '/project-quality/api/changeApply/edit',
        method: 'post',
        data
    })
}
export function alterationApplyDetail(id) { //变更申请-单条查询
    return request({
        url: '/project-quality/api/changeApply/'+id,
        method: 'get',
    })
}
export function alterationApplyDelete(id) { //变更申请-单条查询删除
    return request({
        url: '/project-quality/api/changeApply/del/'+id,
        method: 'get',
    })
}
export function alterationApplyExport(data) { //设备管理-导出
    return request({
      url: '/project-quality/api/changeApply/situation/export/pdf' ,
      responseType: 'arraybuffer',
      method: 'POST',
      data,
    })
  }

